Displaying the Standard Image-Compression Dialog Box
Standard image-compression dialog components provide two functions that allow you to display the standard dialog box to the user and retrieve the compression parameters specified by the user.Use the
SCRequestImageSettings
function to retrieve the user's preferences for compressing a single image; use theSCRequestSequenceSettings
functions when you are working with an image sequence.Both of these functions manipulate the compression settings that the component stores for you. The component may derive the current settings from a number of different sources:
You may customize the dialog boxes by specifying a modal-dialog hook function or a custom button. You may use the custom button to invoke an ancillary dialog box that is specific to your application. See "Request Types" beginning on page 3-15 for more information.
- You may supply an image to the component from which it can derive default
settings. You do this by using one of the functions discussed in
"Getting Default Settings for an Image or a Sequence" beginning on page 3-26.- If you have not set any defaults, but you do supply a test image for the dialog, the component examines the test image and derives appropriate default values based upon its characteristics.
- If you have not set any defaults and do not supply a test image, the component uses its own default values.
- You may modify the settings by using the
SCSetInfo
function, which is described on page 3-36.- You may allow the user to modify those settings by calling one of the functions discussed in this section.
Subtopics
- SCRequestImageSettings
- SCRequestSequenceSettings
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help